DrewM\MailChimp\MailChimp A

Total Complexity 54
Dependencies 2
Dependents 2
Total lines 480
Lines of code 204
Logical lines of code 121
Comment lines 180
Methods 22
Properties 7

Methods 22

Method Rating Maintainability Complexity Lines of code
makeRequest()
A
41 9 54
determineSuccess()
S
56 7 17
getHeadersAsArray()
S
54 5 21
__construct()
S
57 5 16
findHTTPStatus()
S
64 5 9
setResponseState()
S
60 3 13
getLinkHeaderAsArray()
S
65 3 9
prepareStateForRequest()
S
58 1 17
getLastError()
S
80 2 3
formatResponse()
S
68 2 7
getApiEndpoint()
S
82 1 3
attachRequestPayload()
S
72 1 5
subscriberHash()
S
79 1 3
success()
S
82 1 3
getLastResponse()
S
82 1 3
put()
S
78 1 3
new_batch()
S
79 1 3
patch()
S
78 1 3
get()
S
78 1 3
delete()
S
78 1 3
getLastRequest()
S
82 1 3
post()
S
78 1 3